#include<stdio.h>
int main()
{
    const double PI = 3.14159265;
    //freopen("in.txt","r",stdin);
    double r;
    scanf("%lf",&r);
    printf("%.6f %.6f",PI*r*r,2*PI*r);
}